package cn.tedu.property.management.service;

import cn.tedu.property.management.pojo.dto.OrderUpdateDTO;
import cn.tedu.property.management.pojo.dto.OwnerAddNewDTO;
import cn.tedu.property.management.pojo.dto.OwnerUpdateDTO;
import cn.tedu.property.management.pojo.vo.OwnerListVO;
import cn.tedu.property.management.pojo.vo.OwnerStandardVO;

import java.util.List;

public interface IOwnerService {
    void insert(OwnerAddNewDTO ownerAddNewDTO);
    void deleteById(Long id);
    void updateById(Long id, OwnerUpdateDTO ownerUpdateDTO);
    OwnerStandardVO getOwnerByName(String name);
    OwnerStandardVO getOwnerByPhone(String phone);
    OwnerStandardVO getOwnerById(Long id);
    OwnerStandardVO getOwnerByRoomNumber(String roomNumber);
    List<OwnerListVO> getAllOwner();
}
